import  wx

class menuAdd(wx.Menu):
    def __init__(self, parent, button):
        self.parent = parent
        self.bt_playlist_add = button
        
        addfilesid = wx.NewId()
        self.parent.Bind(wx.EVT_MENU, self.OnPopupOne, id=addfilesid)
        self.Append(addfilesid,"Agregar")
        
        
        print addfilesid
        
    def OnPopupOne(self, event):
        print "Popup one\n"